<?php

if (ini_get("sesion.use_cookies")){
    $params = session_get_cookie_params();
    setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"],
            $params["secure"], $params["htmlonly"]);
}

session_start();

session_destroy();
$_SESSION=array();

?>

<!DOCTYPE html>


<html>

    <head>
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <link rel="stylesheet" href="css/bootstrap-theme.min.css">
        <link href="css/main.css" rel="stylesheet">

        <title>
            Adressverwaltung PMB
        </title>
    </head>

    <body>
        
        <!--Header der Seiter-->
        <div class="margin">
            <div class="page-header" id="page-header">
                <div class="row"></div>    
            </div>
        </div>
        
        <!--Login Container-->
        <div class="login-container" id="login-container">
            <img alt="Logo PMB" src="img/pmblogo.jpg"/><br/><br/>
            <h1>PMB Adressen</h1>
            <div class="login-eingabe">
                <form name="login" role="form" action="javascript:checkLogin()" method="POST" onsubmit="return checkForm()">
                <div class="form-group">
                  <label for="exampleInputEmail1">Mail</label>
                  <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Mail" name="mail">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1">Passwort</label>
                  <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Passwort" name="passwort">
                </div>
                <button type="submit" class="btn btn-default">Login</button>
              </form>
            </div>
            <div class="login-alert" id="alert-login"></div>
        </div>

        <!--Hauptteil der Seite-->
        <div class="container">
                <!--Header Cintent-->
            <div class="blog-masthead bolog-header" id="blog-header">
                <!--Default Alert container-->
                <div id="alerts" class="container">
                </div>
                <!--Content Content Content-->
            </div>
        </div>        
        
        <div class="row">
            <!--Menuleiste-->
            <div class="col-md-2 com-md-offset-1 blog-sidebar" id="Menu">
            </div>

             <!--Content-->
            <div class="col-md-9 blog-main" id="content"></div>

        </div>
        
        <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
        <script src="js/main.js" type="text/javascript"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/login.js"></script>
        <script src="js/getSites.js"></script>
        <script src="js/md5.js"></script>
    </body>
</html>
